package cashfree

/*
{
	"id": "order_EPkS6s6eERgWOR",
	"entity": "order",
	"amount": 50000,
	"amount_paid": 0,
	"amount_due": 50000,
	"currency": "INR",
	"receipt": "RZ1583675701242909000570434",
	"offer_id": null,
	"status": "created",
	"attempts": 0,
	"notes": [],
	"created_at": 1583675705
}
*/
type AuthorizeData struct {
	Token  string `json:"token"`
	Expiry int64  `json:"expiry"`
}

type AuthorizeResponse struct {
	Status  string        `json:"status"`
	Message string        `json:"message"`
	SubCode string        `json:"subCode"`
	Data    AuthorizeData `json:"data"`
}
